home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 4
/
Mac Giga-ROM 4.0 - 1993.toast
/
FILES
/
COP
/
A-M
/
Extra Translators 4 SD.sea
/
Translator Documentation
/
About TAR Translator
< prev
Wrap
Text File
|
1991-01-24
|
12KB
|
361 lines
TAR Translator for StuffIt Deluxe
Version 1.0 of 91.01.24.
Written by Raymond Lau
Copyright (C) 1991, Raymond Lau. All Rights Reserved.
This software is being licensed to you free of cost.
Please see Terms of usage and distribution at the end
of this document for information regarding your right
to use and distribute this software.
Introduction:
The tar Translator is an external translator for use
with StuffIt Deluxe, available from Aladdin Systems, Inc.,
Deer Part Center, #23A-171, Aptos, CA 95003-4723.
This translator provides compatibility with the UNIX tape
archiver, tar.
Many files available on UNIX systems are archived with tar.
This translator allows you to decode these archives. It also
allows you to create archives which can be decoded by tar
on these systems.
Tar file names generally have a ".tar" suffix.
Installation:
The rest of this documentation assumes that you have properly
installed StuffIt Deluxe and are familiar with the operation
of StuffIt Deluxe.
To install this translator, placed it in the Translators
folder in the System folder of your startup drive. Then
launch (or quit and relaunch, as appropriate) StuffIt Deluxe.
If you are in Standard menu mode, you must switch to Expert
menu mode to use this translator.
Operation:
After installation, you should have a new choice under the
Other menu with the name "tar." This item has
2 subitems. The subitems are Create... and List and
Extract...
To create a tar archive for transmission, select the Create
menu choice. You will be presented a dialog similar to
the Multiple Stuff dialog in StuffIt Deluxe. Just select
the files and folders to be archived. For each item, you
my select to have carriage returns converted to linefeeds.
(Text files on the Macintosh use carriage returns to
terminate lines. On UNIX systems, linefeeds are normally
used to terminate lines.)
----------------
Technical note:
Each file/folder you select will be placed in the archive
as if there item were in the current directory. In other
words, if you select the following files:
file1
file2
and the following folders:
folder1
folder2
when you use tar on UNIX to extract these items, all 4
items will be extracted to the directory you specify.
(The hierarchy of the folders will be maintained.)
Note that some filename translation occurs to make
Macintosh file names compatible with UNIX.
However, no filename truncation occurs as most UNIX
systems allow up to the Mac's limit of 31 chars/file name.
A few systems do not, so beware!
Also, only the data fork of a file is archive. The
modification date/time of an archived file/folder will be
set to the modification date/time on the original file,
however, it will NOT be translated into UCT. The result
is that when the files are extracted on a UNIX system,
the times may be a few hours off. Relying on the Map
cdev setting on the Macintosh is relying on something
that many users don't even know about!
------------------
After selecting the files/folders, hit Archive All Items.
You will be prompted to save the archive.
When you transfer a tar archive from the Macintosh to
another system, you should normally have the MacBinary
option turned off in your file transfer program.
Otherwise, the MacBinary header added by your file
transfer program will prevent the archive from being
recognized as a legitimate .tar archive.
To get a listing of a tar archive or to extract files
from one, select List and Extract. Then find the tar
archive of interest.
After opening it, its directory will be read and
displayed on the screen.
If you just want to view the listing, hit Done when
you are done. In the listing, the first column
tells you whether something is a file, directory or
a special file (block, link, etc.) The symbol used
is the same as that used by the UNIX ls -l command.
To extract files, select the files to extract, using
the shift and command keys to extend your selection if
needed.
Then hit Extract.
If you want linefeeds converted to carriage returns
(On UNIX systems, linefeeds are used to terminate
lines but on the Macintosh, carriage returns are used),
check that check box before hitting Extract.
You will be prompted as to where the files/folders
should be extracted to.
If there are any naming conflicts, you will be prompted
whether to skip or replace (with the option of replacing
all future conflicting existing files) existing files.
You may also cancel the process. Folders will never be
replaced. This is in keeping with the UNIX tar convention.
Files will be placed into existing folders if folders
have the same name.
---------------
Technical Note:
Be careful when extracting "dot files," files whose
name starts with a period. While the translator
handles these files properly, other applications may
not. The reason is because the names may be mistaken
for the names of drivers on the Mac. For example,
using DiskTop to copy dotfiles with certain names
results in a machine hang.
Also, because UNIX file names are case sensitive,
when a file already exists on your Mac with the same
name but different case in one or more characters,
the translator will add /1, /2, etc. to the name.
---------------
----------------
BUG NOTE:
There is a bug in StuffIt Deluxe 2.0.1 and earlier as
well as StuffIt Classic 1.6.1 and earlier that prevents
the status window from changing correctly to the folder
version when a translator processes a folder. This
bug also causes "flashing" of the window after each item.
These are visual defects only and this bug will be fixed
in a future revision.
----------------
Appendix A: Terms of usage and distribution:
Although copyrighted, this software is being licensed
to you for your use free of charge. However, ownership
of and interest in this software shall remain with the
author. Use and distribution of this software is
governed by the following terms in an effort to
reasonably insure that this software will remain
freely available and that no one other than the author
will derive a commercial benefit from distributing
this software.
LICENSE AGREEMENT
"You," "your," and the "user" refers to any person or
entity which acquires or uses this software.
"Software" refers to any computer programs identified
at the start of this documentation file, together with
all codes, techniques, software tools, formats, designs,
concepts, methods, ideas, and documentation assoicated
with the computer program(s). The term also includes
all copies of any part of the software and documentation.
"Author" refers to the author of this software, Raymond
Lau.
This software is owned by the author and contains
valuable and proprietary information of the author's.
If you violate any part of this agreement, your right
to use this software terminates automatically. In the
event of termination of this agreement, you must destroy
all copies of this software and derivatives of this
software in your possession and cease distributing the
same.
This software is being licensed to you as provided by
the terms of this agreement.
You may:
1. Use this software on as many computers
as you want at any given time.
2. Make as many backup copies of this software as
you want.
3. Alter the software in any manner you see fit
FOR YOUR OWN PERSONAL USE. Such altered versions
should not be distributed. The creation of
such derivatives shall not diminish the author's
title to this software.
4. Terminate this agreement at any time by destroying
all copies of this software and derivatives of
this software and cease distributing the same.
You may not:
1. Create any derivative works from this software
for distribution.
2. Reverse engineer, disassemble, decompile, or
otherwise attempt to discover the source code to
this software.
3. Use this software in any manner as to discover
proprietary information relating to the Translator
interface in StuffIt Deluxe.
You may distribute this software provided that:
1. This software is distributed free of any charges
except as provided for under 1a. This software may
not be sub-licensed, sold, lent, rented, or leased
except as provided for under 1a.
1a. You may charge a nominal fee to cover
duplication, shipping and/or handling costs
of distributing this software provided that
the pro-rata fee (ex: the fee of ordering a
disk/CD/tape/etc divided by the number of
programs on it) does not exceed US $1. You
may include this software in any compilation
even if you sell the compilation for a
profit provided that the pro-rata fee defined
above does not exceed US $1 for this software.
You may also charge your usual timesharing,
network usage and/or membership fee if you
distribute this software electronically.
While you may claim a compilation copyright
on any compilations which include this
software, interest in and ownership of this
software shall remain with the author.
2. You include this documentation file with the
distribution.
3. You do not modify either this documentation file
or the software itself.
4. You do not use the name of this software or
of the author or the fact that you provide this
software in any promotional material relating
to your distribution of this software. However, you
may include such information in a catalog listing of
your offerings.
5. You may not transfer this software in a manner as
to violate any regulations relating to the transfer
of software, including the US Export Administration
Act.
Disclaimer of warranty:
In using this software, you understand and agree that this
software is provided "as is" without warranty of any kind.
The entire risk as to the results and performance of using
this software lies entirely with you, the user. The author
does not make any warranties, either expressed or implied,
including but not limited to implied warranties of
merchantability and fitness for a particular purpose, with
respect to this software.
In no event shall the author be liable for any consequential,
incidental, or special damages whatsoever (including without
limitation damages for loss of critical data, loss of profits,
interruption of business, and the like) arising out of the
use or inability to use this software. Because some states
do not allow the exclusion or limitation of liability for
consequential or incidental damages, the above limitations
may not apply to you.
Although the author would appreciate any feedback and bug
reports, the author shall not be responsible for correcting
any problems which you discover or otherwise help you
maintain and use this software. Furthermore, the author
may at any time replace, modify, alter, improve, enhance
or change this software.
Complete agreement:
This agreement constitues the entire agreement and supersedes
any prior agreements between you and the author concerning
this software. This agreement cannot be amended, modified,
or waived except in writing.
General:
If any provision of this agreement is found to be
unenforcible, it shall be deemed severed from the remainder
of this agreement.
This agreement shall be construed in accordance with the laws
of the State of New York. Any arbitration or litigation
relating to this agreement shall take place in the State of
New York.
U.S. GOVERNMENT RESTRICTED RIGHTS
This Software is provided with RESTRICTED RIGHTS. Use,
duplication, or disclosure by the government is subject to
restrictions set forth in subparagraph (c)(1)(ii) of the
Rights in Technical Data and Computer Software clause at
48 CFR 252.227-7013, or in subparagraphs (a) through (d) of
the Commercial Computer Software Restricted Rights clause at
48 CFR 52.227-19, as applicable. The contractor/manufacturer
is Raymond Lau, 100-04 70 Ave., Forest Hills, NY 11375-5133.